<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title></title>
    <script src="./js/vue.js"></script>
</head>

<body>
    <div id="app">
        <p :style="{'font-size':20+'px',backgroundColor:'red'}">这是一个段落</p>
        <!-- <p :style="{'font-size':20,backgroundColor:'red'}">这是一个段落</p> -->
        <p :style="{transform:'rotate(5deg)'}">这是一个段落</p>
    </div>
    <script>
        let vm = new Vue({
            el: "#app",
            data: {
               
            }
        })
    </script>
</body>

<html>